package cn.fintecher.pangolin.service.business.model.request;

import cn.fintecher.pangolin.common.enums.CaseType;
import cn.fintecher.pangolin.common.enums.StatusType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Auther: xiaqun
 * @Description: 更新案件状态请求
 * @Date: 14:50 2019/9/11
 */

@Data
public class UpdateStatusRequest {
    @ApiModelProperty(value = "案件ID")
    @NotNull(message = "case.id.is.required")
    private String caseId;

    @ApiModelProperty(value = "状态类型")
    @NotNull(message = "status.type.is.required")
    private StatusType statusType;

    @ApiModelProperty(value = "是否新增 0-否（减少）1-是（新增）")
    @NotNull(message = "is.add.is.required")
    private Integer isAdd;

    @ApiModelProperty(value = "状态")
    @NotNull(message = "status.is.required")
    private String status;

    @ApiModelProperty(value = "案件类型")
    private CaseType caseType;
}
